﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage_login.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
<br />
    <table class="style5">
        <tr>
            <td align="center">
<asp:Login ID="Login1" runat="server" CreateUserText="Cadastre-se" 
    CreateUserUrl="~/cadastro.aspx" DestinationPageUrl="~/Default2.aspx" 
    DisplayRememberMe="False" 
    PasswordRecoveryText="Esqueceu sua senha? Clique aqui." 
    PasswordRecoveryUrl="~/Default3.aspx" BackColor="#F7F6F3" BorderColor="#E6E2D8" 
                    BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                    Font-Size="9pt" ForeColor="#333333" Width="237px">
    <TextBoxStyle Font-Size="0.8em" />
    <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
        BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
    <LayoutTemplate>
        <table border="0" cellpadding="4" cellspacing="0" 
            style="border-collapse:collapse;">
            <tr>
                <td>
                    <table border="0" cellpadding="0" style="width:546px;">
                        <tr>
                            <td align="center" colspan="6" 
                                
                                style="color:White;background-color:#5D7B9D;font-size:0.9em;font-weight:bold;">
                                Entrar no sistema</td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 86px">
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                    ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                    SetFocusOnError="True" ToolTip="User Name is required." 
                                    ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuário:</asp:Label>
                            </td>
                            <td align="right">
                                <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em"></asp:TextBox>
                            </td>
                            <td class="style3" style="width: 71px">
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                    ControlToValidate="Password" ErrorMessage="Password is required." 
                                    SetFocusOnError="True" ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="LoginButton" runat="server" BackColor="#FFFBFF" 
                                    BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" Text="Entrar" 
                                    ValidationGroup="Login1" />
                            </td>
                            <td style="width: 114px">
                                <asp:HyperLink ID="CreateUserLink" runat="server" NavigateUrl="~/cadastro.aspx">Cadastre-se</asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="6" style="color:Red;">
                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                <br />
                                <asp:HyperLink ID="PasswordRecoveryLink" runat="server" 
                                    NavigateUrl="~/Default3.aspx">Esqueceu sua senha? Clique aqui.</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </LayoutTemplate>
    <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
    <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" 
        ForeColor="White" />
</asp:Login>
            </td>
        </tr>
    </table>
</asp:Content>

